package com.yfcloud.middleware.storage.tools;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class CommonUtil {

    public static String getAddress() throws UnknownHostException {
        InetAddress address = InetAddress.getLocalHost();
        return address.getHostAddress();
    }
}
